class CreateGalleries < ActiveRecord::Migration
  def self.up
    create_table :galleries do |t|
      t.text :description

      t.timestamps
    end
		create_join_table :artworks, :galleries
  end

  def self.down
		drop_join_table :artworks, :galleries

    drop_table :galleries
  end
end
